package com.demo.exception;

/**
 * 自定义的文件上传异常
 * @author Administrator
 *
 */
public class FileUploadException extends RuntimeException {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	int code;
	
	public FileUploadException(int code, String message) {
		super(message);
		this.code = code;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}
	
	
}